
cmake_minimum_required(VERSION 2.8.12)
project(example)

include_directories(/home/leo/.pyenv/versions/anaconda3-2019.03/include/python3.7m/)
include_directories(/usr/include/eigen3/)
link_directories(/home/leo/.pyenv/versions/anaconda3-2019.03/lib/)
link_directories(/usr/local/lib/)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

add_executable(cvmat2numpy cvmat2numpy.cpp)
target_link_libraries(cvmat2numpy python3.7m opencv_core opencv_highgui opencv_imgproc opencv_imgcodecs )

add_executable(video_yolo_demo video_yolo_demo.cpp)
target_link_libraries(video_yolo_demo python3.7m opencv_core opencv_highgui opencv_imgproc opencv_imgcodecs opencv_videoio)

SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR})


